<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //弹出框
        // window.alert("hello,world")
        // let str=prompt("请输入你的名字","hello,world")
        // console.log(str)
        //prompt第一个参数是提示，第二个是内容
        let result=confirm("确定是否删除此条记录")
        console.log(result)
        //confirm,获取布尔值
</script>
</body>
</html>